import logging

import pytest


@pytest.fixture(scope='function', autouse=True)
def clear_app_data(device):
    logging.info('------应用初始化------')
    device.hdc_shell('rm -rf /data/app/el2/100/database/com.ohos.note/default/rdb/note.db')
    device.wait(2)
